package com.iworkh.spring.anno.dao;

import com.iworkh.spring.anno.domain.entity.Student;
import org.springframework.stereotype.Repository;

/**
 * Student dao
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-18
 */
@Repository(value = "studentDao")
public class StudentDaoImp implements BaseDao<Student> {
    @Override
    public void save(Student student) {
        System.out.println("StudentDaoImp...save");
    }

    @Override
    public void update(Student student) {
        System.out.println("StudentDaoImp...update");
    }

    @Override
    public Student get(String id) {
        System.out.println("StudentDaoImp...get");
        return null;
    }

    @Override
    public void delete(String id) {
        System.out.println("StudentDaoImp...delete");
    }
}
